//
//  EpisodeView.m
//  Double
//
//  Created by 袁庆秋 on 15/5/25.
//  Copyright (c) 2015年 袁庆秋. All rights reserved.
//

#pragma mark - 动画详情页面下半部分自定义View，  放置选集按钮

#import "EpisodeView.h"
#import "CartoonRecommendDetailViewController.h"


@implementation EpisodeView

- (void)dealloc
{
    [_scroll release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        CartoonRecommendDetailViewController *cartoon = [[CartoonRecommendDetailViewController alloc] init];
        NSInteger i = cartoon.episodeArray.count;
        NSLog(@"i = %ld", (long)i);
        
        self.scroll = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, self.frame.size.height)];
        self.scroll.contentSize = CGSizeMake(self.frame.size.width, self.frame.size.height * 10);
        [self addSubview:self.scroll];

    }
    return self;
}

- (void)zidingyiScroll:(NSString *)str
{
    
}


@end
